<h3>Twitter.GetRetweetedByMe() Method</h3>

<p>Use the following code to return the most recent retweets posted by the authenticating user. See the Authentication Flow for instructions on how to obtain the user's Access Token and Secret.</p>

<pre class="codePre">
@@{
    <strong>var retweets = Twitter.GetRetweeetedByMe(token, tokenSecret);</strong>
    var retweets = new WebGrid(retweets);
}
</pre>

@if (Session["token"] != null) {
    var retweets = Twitter.GetRetweetedByMe(Session["token"].ToString(), Session["secret"].ToString());
    var grid = new WebGrid(retweets);
    
    @grid.GetHtml(
        tableStyle: "tw-timeline",
        columns: grid.Columns(                    
                        grid.Column(
                                style: "tw-image",
                                format: @<text>
                                            <img width="48" height="48" alt="@item.retweeted_status.user.name" src="@item.retweeted_status.user.profile_image_url"/>
                                        </text>),
                        grid.Column(
                                style: "tw-message",
                                format: @<text>
                                            <span class="tw-message-content">
                                                <strong><a href="http://twitter.com/@item.retweeted_status.user.screen_name">@item.retweeted_status.user.screen_name</a></strong>
                                                <span>@item.retweeted_status.text</span>
                                             </span>
                                            <span class="tw-message-metadata">@Twitter.ParseDateTime(item.created_at)</span>
                                        </text>)))                                   
} else {
    <div class="message info">
        You're not logged in with twitter, login using the button below.<br/><br/>
        @Twitter.LoginButton(callbackUrl : SampleHelpers.RetrieveCallbackUrl("GetRetweetedByMe"))
    </div>
}